<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<p>测试</p>

<div th:each="user:${users}">
    <span th:text="${user.name}"></span>
    <span th:text="${user.age}"></span>

</div>
</body>
</html>